package com.example.wlzz.repository;

import com.example.wlzz.entity.Notice;
import org.springframework.data.domain.Sort;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface NoticeRepository extends JpaRepository<Notice,Integer> {

    List<Notice> findByFlag(int flag);
}
